package com.sumika.service;

import com.spring.beans.factory.anno.Autowired;
import com.spring.interfaces.BeanNameAware;
import com.spring.anno.Component;
import com.spring.interfaces.InitializingBean;
import com.sumika.service.interfaces.UserServiceInterfaces;

/**
 * @Author: Asuka
 * @Description:
 * @create: 2025-04-05 01:21
 */

@Component("userService")
public class UserService implements BeanNameAware , InitializingBean , UserServiceInterfaces {

    @Autowired
    private OrderService orderService;


    @Autowired
    private UserService userService;


    private String beanName;


    private String string;


    public void sout(){
        System.out.println(orderService);
        System.out.println(userService);
    }


    @Override
    public void setBeanName(String name) {
        this.beanName = name;
    }


    @Override
    public void afterPropertiesSet() {

    }
}
